export const rotersConfig = [
  {
    path: '/',
    name: 'home',
    redirect: "/index",
    component: reslove => require(['@/views/home/home.vue'],reslove),
    children:[
      {
        path: '/index',
        name: '首页',
        component: reslove => require(['@/views/home/index.vue'],reslove),
      },
      {
        path: 'wf/operationPendTask',
        name: '任务处理',
        component: () => import('@/views/workflow/operationPendTask'),
        meta: {
          page: '操作待办任务',
          title: '操作待办任务',
          icon: 'dashboard',
          affix: false
        }
      }
    ],
  },
  {
    path:'/login',
    name:'login',
    component: reslove => require(['@/views/login/login.vue'],reslove)
  },
  {
    path: '*',
    component:reslove=>require(['@/components/404.vue'],reslove)
  }
]
